#!/bin/bash

chmod 777 -R app/cache
chmod 777 -R app/logs
php bin/vendors install
php app/console cache:clear
php app/console doctrine:generate:entities Acme
php app/console doctrine:schema:update --force
php app/console doctrine:fixtures:load
php app/console assets:install web/
chmod 777 -R app/cache
chmod 777 -R app/logs
chmod 777 -R web/uploads